﻿namespace SanguoSharp.Server.Cards
{
    public sealed class 白银狮子 : TableCard
    {
        public 白银狮子(Game game, int id, CardSuit suit, CardRank rank)
            : base(game, id, CardType.白银狮子, suit, rank)
        {
        }

        public override void Play()
        {
            if (!Owner.Table.Contains(this as TableCard))
                if (Owner.LifePoints != Owner.MaxLifePoints)
                    Owner.ModifyLifePoints(Owner.BeerPower);
        }
    }
}